package com.nanjia.boot.batch_stock.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 库存记录视图对象
 *
 * @author 周洋
 * @since 2025-08-22 11:27
 */
@Getter
@Setter
@Schema( description = "库存记录视图对象")
public class WarehouseBatchStockVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @Schema(description = "仓库ID")
    private Long warehouseId;
    @Schema(description = "批次ID")
    private Long batchId;
    @Schema(description = "库存数量")
    private Integer quantity;
    @Schema(description = "库存状态")
    private String stockStatus;
    @Schema(description = "库位号")
    private Long storageLocationId;
    @Schema(description = "温度监控日志")
    private String temperatureLog;
    @Schema(description = "最近盘点日期")
    private LocalDate lastInventory;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;
    private String createIp;
    private String updateIp;

    private Long manufacturerId;
    private Long spuId;
    private Long skuId;

    private String label;
}
